import axios from "../axios"
import memberUrls from "../urls/member"


export default {
  getallmember () {
    return axios.get(memberUrls.getallmember)
  },
  addmember (data) {
    return axios.post(memberUrls.addmember, data, {
      headers: {
        "Content-Type": "multipart/form-data"
      }
    })
  },
  updatemember (data) {
    return axios.post(memberUrls.updatemember, data)
  },
  updateppage (data) {
    return axios.post(memberUrls.updateppage, data)
  },
  deletemember (data) {
    return axios.post(memberUrls.deletemember, data)
  }
}
